package com.weic.manager.evaluate.service;

import com.weic.manager.evaluate.mapper.EvaluateVOMapper;
import com.weic.manager.vo.EvaluateVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EvaluateService {

    @Autowired
    EvaluateVOMapper evaluateVOMapper;
    public List<EvaluateVO> selectTop(Integer limitnum){
        return evaluateVOMapper.selectTop(limitnum);
    };

    public int deleteByPrimaryKey(String pkExpertEvaluate){
        return evaluateVOMapper.deleteByPrimaryKey(pkExpertEvaluate);
    };

    public int insert(EvaluateVO record){
        return evaluateVOMapper.insert(record);
    };

    public int insertSelective(EvaluateVO record){
        return evaluateVOMapper.insertSelective(record);
    };

    public EvaluateVO selectByPrimaryKey(String pkExpertEvaluate){
        return evaluateVOMapper.selectByPrimaryKey(pkExpertEvaluate);
    };

    public int updateByPrimaryKeySelective(EvaluateVO record){
        return evaluateVOMapper.updateByPrimaryKeySelective(record);
    };

    public int updateByPrimaryKeyWithBLOBs(EvaluateVO record){
        return evaluateVOMapper.updateByPrimaryKeyWithBLOBs(record);
    };

    public int updateByPrimaryKey(EvaluateVO record){
        return evaluateVOMapper.updateByPrimaryKey(record);
    };
}
